<!DOCTYPE HTML>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>Test scrollbars 1</title>
        <!--link rel="stylesheet" type="text/css" href="../css/mrspliter.css"/-->
        <script type="text/javascript" src="../../mootools/mootools-core-1.4.5.js"></script>
        <!--script type="text/javascript" src="../../../jquery/jquery.1.7.1.min.js"></script-->
        <!--script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script-->
        <!--script type="text/javascript" src="../js/mrtreetable.1.7.1.js"></script-->
    </head>
    <script type="text/javascript" charset="utf-8">
        window.addEvent('domready', function(){
            $container = new Element('div', {
                'class':'container'
            });
            
            $content = new Element('div', {
                'class':'content'
            });
            
            $$('body').adopt($container);
            $container.adopt($content);
            
            $content.setStyle('width', $container.clientWidth);
        });
    </script>
    <style>
        div.container{
            -moz-box-sizing:border-box;
            box-sizing:border-box;
            width:400px;
            height:200px;
            border: 2px solid black;
            background-color:green;
            overflow:auto;
        }
        
        div.content{
            -moz-box-sizing:border-box;
            box-sizing:border-box;
            width:400px;
            height:400px;
            background-color:yellow;
        }
    </style>
    <body>
        <div class="container">
            <div class="content">
            </div>
        </div>
        <br/>
    </body>
</html>
